import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

// 质检模版
export const spinQualityIndexCreate = (data) => postRequest('/spin/quality-index/create', data);
export const spinQualityIndexUpdate = (data) => putRequest('/spin/quality-index/update', data);
export const spinQualityIndexDelete = (params) => deleteRequest('/spin/quality-index/delete', params);
export const spinQualityIndexGet = (params) => getRequest('/spin/quality-index/get', params);
export const spinQualityIndexPage = (params) => getRequest('/spin/quality-index/page', params);
export const spinQualityIndexExportExcel = (params) => getRequest('/spin/quality-index/export-excel', params);

